package cn.luyou.admin.entity;

import cn.luyou.admin.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Data
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("exam_rule")
public class ExamRule extends BaseEntity {
    private String ruleName;
    private String subject;
    private Integer totalScore;
    private Integer duration;
    private String ruleConfig;  // JSON格式，存储具体规则配置
    private Integer status;     // 0启用 1停用
    private Long createdBy;
} 